import Layout from '@/pages/public/layout' // 公共部分

const personal = [{
  path: '/site/personal',
  component: Layout,
  children: [{
    path: 'items_app',
    component: () => import('@/pages/site/personal/items_app.vue'),
    meta: {
      title: '站点配置-个人中心-功能列表',
      permission: 'site.mobile.personal.menu'
    }
  }, {
    path: 'items_wap',
    component: () => import('@/pages/site/personal/items_wap.vue'),
    meta: {
      title: '站点配置-个人中心-功能列表',
      permission: 'site.pc.personal.menu'
    }
  }, {
    path: 'items/:id/edit/app',
    component: () => import('@/pages/site/personal/edit_app.vue'),
    meta: {
      title: '站点配置-个人中心-功能配置',
      permission: 'site.mobile.personal.menu'
    }
  }, {
    path: 'items/:id/edit/wap',
    component: () => import('@/pages/site/personal/edit_wap.vue'),
    meta: {
      title: '站点配置-个人中心-功能配置',
      permission: 'site.pc.personal.menu'
    }
  }, {
    path: 'display',
    component: () => import('@/pages/site/personal/display.vue'),
    meta: {
      title: '站点配置-个人中心-排版配置',
      permission: 'site.mobile.personal.display'
    }
  }]
}]

export default personal
